package java57_5;

import java.util.Scanner;

public class Rectangle {

	public static void main(String[] args) {
		// chang fangxing
		// width ,height input by user
		int w, h;
		Scanner sc = new Scanner(System.in);
		System.out.println("input width and height:");
		w = sc.nextInt();
		h = sc.nextInt();
		for (int i = 1; i <= h; i++) {
			for (int j = 1; j <= w; j++) {
				System.out.print("* ");
			}
			System.out.println();
		}
	}

}
